package com.heu.blood.storge.service.impl;

import com.heu.blood.common.utils.PageUtils;
import com.heu.blood.common.utils.Query;
import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;


import com.heu.blood.storge.dao.BloodSpecificationsDao;
import com.heu.blood.storge.entity.BloodSpecificationsEntity;
import com.heu.blood.storge.service.BloodSpecificationsService;


@Service("bloodSpecificationsService")
public class BloodSpecificationsServiceImpl extends ServiceImpl<BloodSpecificationsDao, BloodSpecificationsEntity> implements BloodSpecificationsService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<BloodSpecificationsEntity> page = this.page(
                new Query<BloodSpecificationsEntity>().getPage(params),
                new QueryWrapper<BloodSpecificationsEntity>()
        );

        return new PageUtils(page);
    }

}